package com.zjht.gmcc.bean.model;

import com.zjht.gmcc.bean.util.MyFormat;

/**
 * 当前营销机型
 * @author dyh
 */
public class ProductRGS implements java.io.Serializable {
	private static final long serialVersionUID = 2958156938657051800L;
	private String orgacode;// 入柜商组织编码
	private String brandname;// 品牌名称
	private String spec;// 机型名称
	private String productid;
	private String productsystem;// 终端制式
	private String producttype;// 终端类型
	private double price;// 协议价
	private String priceStr;// 页面显示
	private int RGSbasicbonus;// 现金补贴基准
	private int RGSscoreprice;// 积分价
	private String status;

	public ProductRGS() {
	}

	public ProductRGS(String brandname, String spec, String productid, String productsystem, String producttype, double price, int RGSbasicbonus,
			int RGSscoreprice) {
		setBrandname(brandname);
		setSpec(spec);
		setProductid(productid);
		setProductsystem(productsystem);
		setProducttype(producttype);
		setPrice(price);
		setRGSbasicbonus(RGSbasicbonus);
		setRGSscoreprice(RGSscoreprice);
	}

	public ProductRGS(String brandname, String spec, String productid, String productsystem, String producttype, double price, int RGSbasicbonus) {
		setBrandname(brandname);
		setSpec(spec);
		setProductid(productid);
		setProductsystem(productsystem);
		setProducttype(producttype);
		setPrice(price);
		setRGSbasicbonus(RGSbasicbonus);
	}

	public ProductRGS(String brandname, String spec, String productid, String productsystem, String producttype, double price, int RGSbasicbonus,
			int RGSscoreprice, String status) {
		setBrandname(brandname);
		setSpec(spec);
		setProductid(productid);
		setProductsystem(productsystem);
		setProducttype(producttype);
		setPrice(price);
		setRGSbasicbonus(RGSbasicbonus);
		setRGSscoreprice(RGSscoreprice);
		setStatus(status);
	}

	public String getBrandname() {
		return brandname;
	}

	public void setBrandname(String brandname) {
		this.brandname = brandname;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getProductid() {
		return productid;
	}

	public void setProductid(String productid) {
		this.productid = productid;
	}

	public String getProductsystem() {
		return productsystem;
	}

	public void setProductsystem(String productsystem) {
		this.productsystem = productsystem;
	}

	public String getProducttype() {
		return producttype;
	}

	public void setProducttype(String producttype) {
		this.producttype = producttype;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
		setPriceStr(price);
	}

	public String getPriceStr() {
		return priceStr;
	}

	public void setPriceStr(double price) {
		this.priceStr = MyFormat.getMoney(price);
	}

	public int getRGSbasicbonus() {
		return RGSbasicbonus;
	}

	public void setRGSbasicbonus(int sbasicbonus) {
		RGSbasicbonus = sbasicbonus;
	}

	public int getRGSscoreprice() {
		return RGSscoreprice;
	}

	public void setRGSscoreprice(int sscoreprice) {
		RGSscoreprice = sscoreprice;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getOrgacode() {
		return orgacode;
	}

	public void setOrgacode(String orgacode) {
		this.orgacode = orgacode;
	}

}